package com.example.ymm.modules1.service.user;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.DbRewards;
import com.example.ymm.modules1.query.DbRewardsQueryCriteria;

import java.util.List;

public interface DbRewardsService extends BaseService<DbRewards> {


    TableList<DbRewards> list(DbRewardsQueryCriteria criteria, YmPageDto ymPage);

    List<DbRewards> queryAll(DbRewardsQueryCriteria criteria);

    DbRewards findByName(String name);
}
